﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Contracts.Models.Common.Page
{
    /// <summary>
    /// 分页
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PageDto<T>
    {
        public List<T> list { get; set; }

        /// <summary>
        /// 当前页码
        /// </summary>
        public int pageNum { get; set; }
        /// <summary>
        /// 每页大小
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 总数量
        /// </summary>
        public long total { get; set; }
    }
}
